package com.cskaoyan.bean.vo.vxVo;

import com.cskaoyan.util.StringToArrayUtils;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author by WANGJun
 * @date 2022/6/9 17:42
 */
@Data
public class WXAftersaleOrderGoodsBean {
    /**
     * id : 896
     * orderId : 694
     * goodsId : 1181217
     * goodsName : yu
     * goodsSn : 3511
     * productId : 471
     * number : 1
     * price : 66666
     * specifications : ["标准"]
     * picUrl : http://182.92.235.201:8083/wx/storage/fetch/l4jpntqgufkihfz81xwu.jpg
     * comment : 1161
     * addTime : 2022-06-09 10:58:04
     * updateTime : 2022-06-09 17:12:30
     * deleted : false
     */

    private int id;
    private int orderId;
    private int goodsId;
    private String goodsName;
    private String goodsSn;
    private int productId;
    private int number;
    private int price;
    private String picUrl;
    private int comment;
    private String addTime;
    private String updateTime;
    private boolean deleted;
    private List<String> specifications;

    public void setSpecifications(String specifications) {
        this.specifications = StringToArrayUtils.toArray(specifications,String.class);
    }
}
